creating simple calculator using python